﻿CREATE TABLE [dbo].[Orders] (
    [OrderId]        UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [SenderUserId]   UNIQUEIDENTIFIER NOT NULL,
    [ReceiverUserId] UNIQUEIDENTIFIER NOT NULL,
    [CashierUserId]  UNIQUEIDENTIFIER NOT NULL,
    [AgentBranchId]  UNIQUEIDENTIFIER NOT NULL,
    [PayeeBranchId]  UNIQUEIDENTIFIER NOT NULL,
    [ExtraInfo]      NVARCHAR (200)   NULL,
    [OrderDate]      DATETIME         NOT NULL,
    [OrderFlagId]    UNIQUEIDENTIFIER NOT NULL
);



